package edu.whu.assignment5.service;

import edu.whu.assignment5.dataobject.Product;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ProductService {
    Product findProductById(int pid);
    List<Product> findAll();
    Product addProduct(Product product);
    int deleteProduct(int pid);
    int updateProduct(Product product);

}
